package com.gxitsky.behavioral.observer.things;

/**
 * @author gxing
 * @desc TODO
 * @date 2022/7/7
 */
public class MainTest {

    public static void main(String[] args) {
        AnyThing thing1 = new Moon(new Dream(new You(null)));
        thing1.exe();
        AnyThing thing2 = new Dream(new Moon(new You(null)));
        thing2.exe();
    }
}
